home *** CD-ROM | disk | FTP | other *** search
- /*
- ********************************************************************************
- **
- ** File: EventLoop.h
- **
- ** Description:
- **
- ** Event loop routines.
- **
- ********************************************************************************
- */
- #ifndef __EventLoop_h__
- #define __EventLoop_h__
-
- /*
- ********************************************************************************
- ** globals
- ********************************************************************************
- */
- extern Boolean gDoneFlag;
- extern Boolean gInBackground;
-
- /*
- ********************************************************************************
- ** menu resources and ids
- ********************************************************************************
- */
- #define kMBAR_ID 128
-
- enum {
- kMenu_Apple = 128,
- kMenuItem_About = 1,
-
- kMenu_File = 129,
- kMenuItem_New = 1,
- kMenuItem_Open = 2,
- kMenuItem_Close = 3,
- kMenuItem_Quit = 5,
- };
-
- /*
- ********************************************************************************
- ** prototypes
- ********************************************************************************
- */
- void EventLoop( void );
-
- #endif // __EventLoop_h__